<div id="web-files">
{foreach from=$files item=file}
	<div class="file-wrap">
		<div class="file-icon">
			<img src="images/s.gif" class="{$file.ext}" alt="{$file.name}"/>
		</div>
		<div class="file-name">
			{if $file.isdir}
				<a href="{$url|params:'dir':$file.file}">{$file.name}</a>
			{else}
				{$file.name}
			{/if}
		</div>
		<div class="file-acts">
			{'get_file_options'|fire:$file:'icon'}			
		</div>
	</div>
{/foreach}
	<br class="clear"/>
</div>
